<?php

namespace App\Service\Admin;

use App\Model\Admin\AttendGroupModel;
use App\Service\BaseService;

/**
 * 考勤分组管理-服务类
 * @author LZH
 * @since: 2021/08/12
 * Class AttendGroupService
 */
class AttendGroupService extends BaseService
{
    /**
     * 构造函数
     * LevelService constructor.
     */
    public function __construct()
    {
        $this->model = new AttendGroupModel();
        parent::__construct();
    }

    /**
     * 获取数据列表
     * @return array
     * @since 2021/08/12
     * @author LZH
     */
    public function getList()
    {
        $group_type = $this->getRequestParam('group_type');

        // 查询条件
        $map = [['group_type' => [$group_type]]];


        return parent::getList($map);
    }
}
